package com.biyabi.pojo;

import java.io.Serializable;
import java.util.List;

public class OrderData implements Serializable {
    private Integer total;
    private List<OrderPojo> rows;

    public OrderData() {
    }

    @Override
    public String toString() {
        return "OrderData{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<OrderPojo> getRows() {
        return rows;
    }

    public void setRows(List<OrderPojo> rows) {
        this.rows = rows;
    }

    public OrderData(Integer total, List<OrderPojo> rows) {

        this.total = total;
        this.rows = rows;
    }
}
